package com.bdqn.service;

import com.bdqn.pojo.HisPatient;
import com.bdqn.pojo.HisRegistration;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HisRegistrationService {
    int addHisRegistration(HisRegistration registration);
    PageInfo<HisRegistration> getAll(int pageNum, int pageSize, String deptId, String name, String schedulingType, String subsectionType, String createTime);

    PageInfo<HisRegistration> page(int pageNum,int pageSize,String doctorName,String visitDate);
    PageInfo<HisRegistration> page2(int pageNum,int pageSize,String doctorName);
    int chargeHisRegistration(String id);

    int refundHisRegistration(String id);
    //查询待就诊患者信息
    List<HisRegistration> queryWithMedicalList();
    //查询就诊中患者信息
    List<HisRegistration> queryTheListOfVisitsInProgress();
    //查询就诊完成患者信息
    PageInfo<HisRegistration> queryTheListOfCompletedMedicalVisits(int pageNum,int pageSize);

    String receiveAPatientForTreatment(String id);

    int modifyReceiveAPatientForTreatment(String id);

    int concludePatientVisit(String id);
}
